//
//  ExplodeHelper.h
//  Box2DProject
//
//  Created by Thi Huynh on 9/12/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "cocos2d.h"
#import "Box2D.h"
#import "PhysicObject.h"
#import "Const.h"
#import "MathHelper.h"
#import "ResourceDef.h"
#import "BodyInAABBCallback.h"


@interface ExplodeHelper : NSObject

+ (void)createExplodeWith:(b2World*)world atPoint:(CGPoint)pos radius:(float)radius maxForce:(float)maxForce suction:(BOOL)suction;

+ (void)createExplodeAllObjectWith:(b2World*)world atPoint:(CGPoint)pos maxForce:(float)maxForce suction:(BOOL)suction;

+ (void)createExplodeAndParticleWith:(b2World*)world atPoint:(CGPoint)pos radius:(float)radius maxForce:(float)maxForce suction:(BOOL)suction;

+ (void)createExplodeAndSplitBodyWith:(b2World*)world atPoint:(CGPoint)pos radius:(float)radius maxForce:(float)maxForce cuts:(int)cuts suction:(BOOL)suction;

+ (void)createExplodeAllWith:(b2World*)world atPoint:(CGPoint)pos radius:(float)radius maxForce:(float)maxForce cuts:(int)cuts suction:(BOOL)suction;

@end
